package com.shanjupay.merchant.service;

import com.shanjupay.common.domain.BusinessException;

/**
 * 短信服务接口
 * @author lsy
 * @date 2020/05/07
 */
public interface SmsService {

    /**
     * 获取手机验证码
     */
    String sendMsg(String phone) throws BusinessException;

    /**
     * 校验手机验证码
     */
    void checkVerifyCode(String verifyKey, String verifyCode) throws BusinessException;
}
